/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2012
 */

package com.tech15.pub.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.*;

import javacommon.base.*;
import javacommon.util.*;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

import com.tech15.pub.model.*;
import com.tech15.pub.dao.*;
import com.tech15.pub.service.*;
import com.tech15.pub.vo.query.*;

/**
 * @author 胡作正 email:zuozhenghu@sina.com
 * @version 1.0
 * @since 1.0
 */

@Service
@Transactional
public class PubXmjcbManager extends BaseManager<PubXmjcb,java.lang.String>{

	private PubXmjcbDao pubXmjcbDao;
	/**增加setXXXX()方法,spring就可以通过autowire自动设置对象属性,请注意大小写*/
	public void setPubXmjcbDao(PubXmjcbDao dao) {
		this.pubXmjcbDao = dao;
	}
	public EntityDao getEntityDao() {
		return this.pubXmjcbDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(PubXmjcbQuery query) {
		return pubXmjcbDao.findPage(query);
	}
	
	@Transactional(readOnly=true)
	public Page findByPageRequest(PageRequest pr) {
		return pubXmjcbDao.findByPageRequest(pr);
	}
	
}
